package com.zh.repo.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zh.repo.dao.vo.BakeOvenInfoDao;
import com.zh.repo.dao.vo.BakeOvenInfoViewDao;
import com.zh.repo.entity.vo.BakeOvenInfo;
import com.zh.repo.entity.vo.BakeOvenInfoView;
import com.zh.repo.service.BakeOvenInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * @description: BakeOvenInfoServiceImpl
 * @author:
 * @time: 2025-05-11 11:50
 * @version: 1.0
 */
@Service
@DS("oasource")
public class BakeOvenInfoServiceImpl implements BakeOvenInfoService {
    @Resource
    private BakeOvenInfoDao bakeOvenInfoDao;
    @Resource
    private BakeOvenInfoViewDao bakeOvenInfoViewDao;
    @Override
    public BakeOvenInfo getBakeOvenInfoOne(int requestid) {
        return bakeOvenInfoDao.getBakeOvenInfoOne(requestid);
    }

    @Override
    public List<BakeOvenInfo> getBakeOvenInfoList(Map map) {
        return bakeOvenInfoDao.getBakeOvenInfoList(map);
    }

    @Override
    public List<BakeOvenInfoView> getBakeOvenInfoViewList(Map map) {
        return bakeOvenInfoViewDao.getBakeOvenInfoViewList(map);
    }
}
